package com.snpic.appaw.module.third.api.commonCertification.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author JiJun
 * @date 2025/9/18 17:54
 * @修改时间 2025/9/18 17:54
 * @description
 */
@Data
@Schema(description = "统一配置化实名验真-各渠道场景实名验真 ReqDTO")
public class RealNameVerificationReqDTO {

    @Schema(description = "渠道代码,由软件填入")
    private String systemSource;

    @Schema(description = "通行证,由软件填入")
    private String transactionCertificateNo;

    @Schema(description = "签名（C端没配密钥不加密，配密钥需传签名）")
    private String sign;

    @Schema(description = "业务员工号（销售场景不能为空）")
    private String salesmanJobNo;

    @Schema(description = "业务所属机构（销售场景不能为空）")
    private String businessOrganization;

    @NotBlank(message = "姓名不能为空")
    @Schema(description = "姓名", example = "张三", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @NotBlank(message = "身份证号不能为空")
    @Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String idNo;

    @Schema(description = "手机号（三要素必填）")
    private String phoneNo;

    @Schema(description = "银行卡号（四要素必填）")
    private String bankCard;
}
